package hrms.dao;

import org.springframework.stereotype.Repository;

import java.util.List;
@Repository("mainDao")
public interface MainDao<T> {
	public int findRow();
	public int findRowById(int id);
	public List<T> findAll(int start ,int end);
	public List<T> findAllById(int id,int start , int end );
	public List<T> findSearch(String name);
}
